import {
	post
} from "@/common/js/http.js";

const getSearchTextApi = () => {
	return post('config/searchList')
}

const getBannerApi = () => {
	return post('config/banner')
}

const getHomeApi = () => {
	return post('book/home')
}

const getPopApi = (id) => {
	return post('config/pop', {
		id: id
	})
}

export {
	getSearchTextApi,
	getBannerApi,
	getHomeApi,
	getPopApi
};